package com.fulihui.systemcore.util.error;

import org.near.servicesupport.error.ServiceError;

/**
 *
 * Created by Willard.Hu on 2016/3/5.
 */
public enum SysServiceErrorEnum implements ServiceError {

    PROP_SAVE_ERROR(200, "保存产品属性发生异常"),

    PROP_DELETE_ERROR(201, "删除产品属性发生异常"),

    ;

    private int    errcode;
    private String errmsg;

    SysServiceErrorEnum(int errcode, String errmsg) {
        this.errcode = errcode;
        this.errmsg = errmsg;
    }

    @Override
    public int getErrcode() {
        return errcode;
    }

    @Override
    public String getErrmsg() {
        return errmsg;
    }
}
